package top.chmin.project.cloud.sys.dict.type;
import java.util.Arrays;

import top.chmin.project.cloud.common.ModelColumn;
import top.chmin.project.cloud.common.Column;
import org.springframework.stereotype.Component;



/**
 * chmin
 * 2024-01-26 14:02:38
 * cloud-code
 */
@Component
public class DictTypeColumn implements ModelColumn {
    public static final String id = "id";
    /*###########auto#start###########*/
    public static final String typeCode = "type_code";
    public static final String typeName = "type_name";
    /*###########auto##end############*/
    /* append $columnFieldAppender$ */
    public static final String createBy = "create_by";
    public static final String updateBy = "update_by";
    public static final String createTime = "create_time";
    public static final String updateTime = "update_time";

    public DictTypeColumn() {
        modelColumnMap.put(DictType.class, Arrays.asList(
                new Column(id),
                /*###########auto#start###########*/
                new Column(typeCode),
                new Column(typeName),
                /*###########auto##end############*/
                /* append $columnColumnAppender$ */
                new Column(createBy),
                new Column(updateBy),
                new Column(createTime),
                new Column(updateTime)
        ));
    }
}
